package com.ruoyi.web.controller.system;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.system.domain.vo.HomePageStatVo;
import com.ruoyi.system.domain.vo.HomePageTodoVo;
import com.ruoyi.system.service.IGwHomePageService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 首页Controller
 *
 * @author ruoyi
 * @date 2025-04-23
 */
@Api("首页")
@RestController
@RequestMapping("/system/homepage")
public class GwHomePageController extends BaseController {

    @Autowired
    private IGwHomePageService gwHomePageService;

    @ApiOperation("获取数据")
    @GetMapping("/getData")
    public AjaxResult getData() {
        return gwHomePageService.selectData();
    }
}
